package start.doubudouyin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import start.doubudouyin.entity.Usersprefer;
import start.doubudouyin.service.UserspreferService;
import start.doubudouyin.mapper.UserspreferMapper;
import org.springframework.stereotype.Service;

/**
* @author mmmm
* @description 针对表【usersprefer(用户偏好表)】的数据库操作Service实现
* @createDate 2025-06-09 14:26:14
*/
@Service
public class UserspreferServiceImpl extends ServiceImpl<UserspreferMapper, Usersprefer>
    implements UserspreferService{

    @Resource
    private UserspreferMapper userspreferMapper;

    public Integer recordShare(String userId,String videoId){
        return userspreferMapper.recordShare(userId,videoId);
    }
}




